package entities.menu;

import java.util.List;

import entities.common.BaseEntities;
/**
 * 菜单entities
 * @author hxl
 *
 */
public class MenuEntities extends BaseEntities {

	private static final long serialVersionUID = 4051180241767656081L;
	/**
	 * 菜单ID
	 */
	private String id;
	/**
	 * 菜单名称
	 */
	private String text;
	/**
	 * 菜单等级
	 */
	private int level;
	/**
	 * 父菜单ID
	 */
	private String parentId;
	/**
	 * 菜单跳转路径
	 */
	private String path;
	/**
	 * 菜单的位置
	 */
	private int location;
	/**
	 * 子菜单
	 */
	private List<MenuEntities> children;
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	
	public String getText() {
		return text;
	}
	public void setText(String text) {
		this.text = text;
	}
	public int getLevel() {
		return level;
	}
	public void setLevel(int level) {
		this.level = level;
	}
	public String getParentId() {
		return parentId;
	}
	public void setParentId(String parentId) {
		this.parentId = parentId;
	}
	public String getPath() {
		return path;
	}
	public void setPath(String path) {
		this.path = path;
	}
	
	public int getLocation() {
		return location;
	}
	public void setLocation(int location) {
		this.location = location;
	}
	public List<MenuEntities> getChildren() {
		return children;
	}
	public void setChildren(List<MenuEntities> children) {
		this.children = children;
	}
}
